<template>
  <!-- 个人中心 -->
  <div class="box">
    <heads></heads>
    <titlesearch></titlesearch>
    <div class="gerenBox">
      <ceList :index="17"></ceList>
      <div class="con">
        <!-- <div
          style="display: flex; width: 1200px; margin: auto; padding: 20px 0"
        >
          <img
            style="
              width: 200px;
              height: 200px;
              object-fit: contain;
              cursor: pointer;
              background-color: #00000033;
            "
            :src="
              agentInfo.image
                ? agentInfo.image
                : 'https://pic.bangbangtongcheng.com/static/my/header.png'
            "
          />
          <div
            style="
              display: flex;
              flex-direction: column;
              color: #333;
              width: 400px;
              justify-content: space-between;
              padding: 10px 20px;
            "
          >
            <div style="font-size: 32px; font-weight: 600">
                             {{
                  (agentInfo.userInfo && agentInfo.userInfo.nikeName) ||
                  "未命名用户"
                }}
            </div>
            <div
              class="vip-level"
              :style="{
                backgroundColor:
                  $store.state.colors[agentInfo.memberLevel - 1].bgColor,
                color: $store.state.colors[agentInfo.memberLevel - 1].wordColor,
                borderColor:
                  $store.state.colors[agentInfo.memberLevel - 1].lineColor,
              }"
            >
              {{ $store.state.colors[agentInfo.memberLevel - 1].level }}
            </div>
            <div
              style="
                font-size: 22px;
                font-weight: 400;
                display: flex;
                color: #aaaaaa;
              "
            ></div>
            <div style="display: flex"></div>
          </div>
        </div> -->



        <!-- <div class="personalDetails">
          <div class="personalDetails_left">
            <img
              class="user_img"
              :src="
                agentInfo.userInfo && agentInfo.userInfo.image
                  ? agentInfo.userInfo.image
                  : 'https://pic.bangbangtongcheng.com/static/my/header.png'
              "
              alt=""
            />
            <div class="user_xx">
              <div class="user_name">
                {{
                  (agentInfo.userInfo && agentInfo.userInfo.nikeName) ||
                  "未命名用户"
                }}
              </div>
               <el-rate
                v-model="agentInfo.scoreAvg"
                :disabled="disa"
                @change="rateChage"
              ></el-rate>
            </div>
          </div>
          <div class="personalDetails_right">
            <div
              class="right_item"
              style="margin-bottom: 15px"
              @click="companyDeilta(agentInfo.storeId)"
              v-if="agentInfo.userInfo && agentInfo.userInfo.businessType != ''"
            >
              我的公司
              <img class="you_img" src="../../../assets/bbcz/tpxqy01.png" />
            </div>
            <div class="right_item" @click="weiguiClick(agentInfo.userInfo.id)">
              违规次数
              <span class="right_item_span">{{
                agentInfo.violation || 0
              }}</span>
              <img class="you_img" src="../../../assets/bbcz/tpxqy01.png" />
            </div>
          </div>
        </div> -->


        <!-- <home-page-fy v-if="user.id&&user.businessType==1&&user.isShop!=1"></home-page-fy>
        <home-page-cz v-if="user.id&&user.businessType==2&&user.isShop!=1"></home-page-cz> -->

        <home-page-cz-dear :tid='user.shopId'
          v-if="user.id && user.businessType == 2 && user.isShop == 1 && (user.shopType == 1 || user.shopType == 2)"></home-page-cz-dear>
        <home-page-cz-searve :tid='user.shopId'
          v-if="user.id && user.businessType == 2 && user.isShop == 1 && (user.shopType == 3 || user.shopType == 4)"></home-page-cz-searve>
        <home-page-fy-shop :tid='user.shopId'
          v-if="user.id && user.businessType == 1 && user.isShop == 1 && user.shopType !== 2"></home-page-fy-shop>
        <home-page-company v-if="user.isShop != 1 && user.enterpriseRecruitmentStatus == 1"></home-page-company>
        <homePage v-if="user.isShop != 1 && user.enterpriseRecruitmentStatus != 1"></homePage>

      </div>
    </div>

    <inform ref="inform" :bUserId="bUserId"></inform>
  </div>
</template>
<script>
import floor from "../../../components/floor";
import heads from "../../../components/head";
import ceList from "../../../components/ceList.vue";
import titlesearch from "../../../components/titlesearch.vue";
import inform from "../../index/inform";
import friendItem from "../../index/comp/bbcz-friend-circle-item.vue";
import homePageCz from "./myHomepage/myHomepageCz.vue"
import homePageFy from "./myHomepage/myHomepageFy.vue"
import homePageCzDear from "./myHomepage/myHomepageCzDear.vue"
import homePageCzSearve from "./myHomepage/myHomepageCzSearve.vue"
import homePageFyShop from "./myHomepage/myHomepageFyShop.vue"
import homePageCompany from "./myHomepage/myHomePageCompany.vue"

import homePage from "./myHomepage/homePage.vue"


export default {
  components: {
    floor,
    heads,
    ceList,
    titlesearch,
    inform,
    friendItem,
    homePageCz,
    homePageFy,
    homePageCzDear,
    homePageCzSearve,
    homePageFyShop,
    homePage,
    homePageCompany
  },

  data() {
    return {
      bUserId: "",
      agentInfo: {},
      disa: true,
      phonestate: false,
      list: [
        { num: 0, name: "全部" },
        { num: 1, name: "新车" },
        { num: 2, name: "二手车" },
        { num: 3, name: "帮友圈" },
      ],
      xuanzhong: 0,
      housePage: {
        pageSize: 4,
        pageNo: 1,
        userId: "",
      },
      houseList: [],
      housetotal: 0,
      loginstate: false,
      user: {},
      isCollection: 0,
      userInfo: {},
      ceshiArr: [],
    };
  },
  created() {
    this.init();
  },
  methods: {
    init(id) {
      // id=16&userId=887
      // this.agentInfo.id = JSON.parse(localStorage.getItem("userInfo")).id;
      // this.userId = JSON.parse(localStorage.getItem("userInfo")).id;
      this.getUser();
      // this.getUserInfoByUserId(id);
      // this.housePage.userId = id
      // this.getMoreData();
      // this.getHouseInfo()
    },
    details(item) {
      // vehicleType
      this.openUrl({
        path: "/index/newSourceDetails",
        query: {
          id: item.id,
          type: this.olds,
        },
      });
    },
    getUserInfoByUserId(id) {
      // this.$getHttp('/mob/user/getUserInfoByUserId',{id:id}).then((e) =>{
      // 	if(e.code == 200){
      // 		let userinfo = e.userInfo
      // 		if(userinfo.isAgent ==1 || userinfo.isShop == 1){
      // 			userinfo.scoreAvg = e.scoreAvg
      // 		}
      // 		userinfo.name = userinfo.nikeName
      // 		this.agentInfo = userinfo
      // 	}
      // })
      this.$getHttp("/api/mobile/vehicleOwner/getSalesConsultantDetailsById", {
        userId: JSON.parse(localStorage.getItem("userInfo")).id,
        relationId: JSON.parse(localStorage.getItem("userInfo")).id,
      }).then((res) => {
        if (res.code == 200) {
          this.agentInfo = res.salesConsultant;
          // let userinfo = e.userInfo
          // if(userinfo.isAgent ==1 || userinfo.isShop == 1){
          // 	userinfo.scoreAvg = e.scoreAvg
          // }
          // userinfo.name = userinfo.nikeName
          // this.agentInfo = userinfo
        }
      });
    },
    getMoreData() {
      if (this.xuanzhong == 0) {
        this.getPers(JSON.parse(localStorage.getItem("userInfo")).id, "");
      } else if (this.xuanzhong == 1) {
        this.getPers(JSON.parse(localStorage.getItem("userInfo")).id, 1);
      } else if (this.xuanzhong == 2) {
        this.getPers(JSON.parse(localStorage.getItem("userInfo")).id, 2);
      } else if (this.xuanzhong == 3) {
        this.getByq();
      }
    },
    getPers(userId, vehicleType) {
      this.$getHttp("/api/mobile/vehicleOwner/getVehicleInformation", {
        ...this.housePage,
        userId,
        vehicleType,
      }).then((res) => {
        if (res.code == 200) {
          this.houseList = res.vehicleInformation.pageList;
          this.housetotal = res.vehicleInformation.pageCount;
        }
      });
    },
    getByq() {
      this.$getHttp(
        "/api/mobile/vehicleOwner/getHelpingFriendsCircleByPublisher",
        { ...this.housePage, publisherId: this.userId }
      ).then((res) => {
        if (res.code == 200) {
          res.helpingFriendsCircleList.pageList.forEach((item) => {
            item.chage = 0;
            item.picture = this.manageImg(item.picture);
            item.imageList = this.manageImg(item.picture);
            item.video = this.manageImg(item.video);
          });
          this.ceshiArr = res.helpingFriendsCircleList.pageList;
          this.housetotal = res.helpingFriendsCircleList.pageCount;
        }
      });
    },
    titClick(index) {
      this.xuanzhong = index;
      this.housePage.pageNo = 1;
      this.getMoreData();
      return;
      switch (index) {
        case 0:
          delete this.housePage.transactionType;
          delete this.housePage.newOld;
          this.housePage.pageNo = 1;
          this.getHouseInfo();
          break;
        case 1:
          this.housePage.transactionType = 2;
          this.housePage.newOld = 2;
          this.housePage.pageNo = 1;
          this.getHouseInfo();
          break;
        case 2:
          this.housePage.transactionType = 2;
          this.housePage.newOld = 1;
          this.housePage.pageNo = 1;
          this.getHouseInfo();
          break;
        case 3:
          this.friendsCircle();
          break;
      }
    },
    // 获取帮友圈数据
    friendsCircle() {
      let arr = [{ id: 1 }, { id: 2 }];
      arr.forEach((v) => {
        v.chage = 0;
      });
      this.ceshiArr = arr;
    },
    zhankaiClick(item) {
      this.ceshiArr.forEach((v) => {
        if (v.id == item.id) {
          if (v.chage == 0) {
            v.chage = 1;
          } else {
            v.chage = 0;
          }
        }
      });
    },
    rateChage(e) {
      if (this.loginstate) {
        this.disa = true;
        this.$postHttp("/mob/user/saveScoreInfo", {
          agentId: this.agentInfo.id,
          userId: this.user.id,
          score: e,
        }).then((data) => {
          if (data.code == 200) {
            this.$message({
              message: "评分成功！",
              type: "success",
              offset: 120,
              duration: 2000,
            });
            this.getUserInfoByUserId(this.$route.query.id);
          }
        });
      } else {
        this.$message({
          message: "请登录之后在进行评分",
          type: "error",
          offset: 120,
          duration: 2000,
        });
      }
    },
    getHouseInfo() {
      this.$getHttp("/mob/home/getHouseInfo", this.housePage).then((data) => {
        if (data.code == 200) {
          data.list.forEach((e) => {
            //判断该对象是否存在该属性
            if (e.hasOwnProperty("FLOOR")) {
              if (e.FLOOR.indexOf("|") == -1) {
                e.foors = "";
              } else {
                e.foors =
                  e.FLOOR.split("|")[0] +
                  "层/" +
                  "共" +
                  e.FLOOR.split("|")[1] +
                  "层";
              }
            }
            if (!e.hasOwnProperty("shop_name")) {
              e.shop_name = "个人房源";
            }
          });
          this.houseList = data.list;
          this.housetotal = data.count;
        }
      });
    },
    getUser() {
      let user = JSON.parse(localStorage.getItem("userInfo"));
      // user.shopId=2546
      if (user != null) {
        this.loginstate = true;
        this.user = user;
        console.log('useruser', this.user);
        // this.$getHttp("/mob/user/getIsCollection", {
        //   userId: user.id,
        //   cbType: 3,
        //   type: 1,
        //   relationId: this.$route.query.id,
        // }).then((data) => {
        //   if (data.code == 200) {
        //     this.isCollection = data.isCollection;
        //   }
        // });
        // this.$postHttp("/mob/user/saveUserCollection", {
        //   userId: user.id,
        //   type: 2,
        //   cbType: 3,
        //   relationId: this.$route.query.id,
        // }).then((data) => {});
      } else {
        this.loginstate = false;
      }
    },
    currenthouse(e) {
      this.housePage.pageNo = e;
      this.getMoreData();
    },
    // 他的公司
    companyDeilta(storeId) {
      // console.log('storeIdstoreIdstoreIdstoreId',storeId);
      // return
      const routeLink = this.$router.resolve({
        path: "/index/newDealerDetails?id=" + storeId,
      });
      window.open(routeLink.href, "_self");
    },
    // 违规次数
    weiguiClick(userId) {
      this.bUserId = userId;
      setTimeout(() => {
        this.$refs.inform.getReportMyRecord();
      }, 100);
    },
    manageImg(imgs) {
      var arr = [];
      if (null != imgs) {
        if (imgs.indexOf("|") == -1) {
          if (imgs != "") {
            arr.push(imgs);
            console.log("imgs", arr);
            return arr;
          } else {
            return [];
          }
        } else {
          return imgs.split("|");
        }
      }
    },
    // 关注
    collect(item, flag) {
      if (this.loginstate) {
        this.$postHttp(
          "/api/mobile/vehicleOwner/collectionOrCancelCollection",
          {
            collectorId: JSON.parse(localStorage.getItem("userInfo")).id,
            collectionType: "3",
            relationId: item.id,
            id:
              item.collectionAttention && item.collectionAttention.id
                ? item.collectionAttention.id
                : "",
          }
        ).then((data) => {
          if (data.code == 200) {
            this.getMoreData();
            this.$message({
              message: data.msg,
              type: "success",
              offset: 120,
              duration: 2000,
            });
          }
        });
      } else {
        this.$message({
          message: "请登录之后在收藏个人！",
          type: "error",
          offset: 120,
          duration: 2000,
        });
      }
    },
    goLike(item, flag) {
      if (this.loginstate) {
        // 去点赞
        var obj = {
          userId: JSON.parse(localStorage.getItem("userInfo")).id,
          circleId: item.id,
        };
        item.likeRecord && item.likeRecord.id
          ? (obj.id = item.likeRecord.id)
          : "";
        this.$postHttp("/api/mobile/vehicleOwner/upperOrCancelThumb", {
          // id: item.id,
          ...obj,
        }).then((data) => {
          if (data.code == 200) {
            this.getMoreData();
            this.$message({
              message: data.msg,
              type: "success",
              offset: 120,
              duration: 2000,
            });
          }
        });
      } else {
        this.$message({
          message: "请登录之后在收藏个人！",
          type: "error",
          offset: 120,
          duration: 2000,
        });
      }
    },
  },
};
</script>
<style lang="less" scoped>
.box {
  position: relative;
  padding-bottom: 200px;
}

.con {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  vertical-align: top;
  width: 940px;
  color: #333;

  .personalDetails {
    box-sizing: border-box;
    padding: 28px 80px 23px 40px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .personalDetails_left {
      display: flex;
      align-items: center;

      .user_img {
        width: 76px;
        height: 76px;
        border-radius: 76px;
        margin-right: 32px;
      }

      .user_xx {
        .user_name {
          font-size: 20px;
          font-weight: 400;
          color: #333333;
          margin-bottom: 8px;
        }
      }
    }

    .personalDetails_right {
      .right_item {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        font-size: 16px;
        font-weight: 400;
        color: #333333;

        .you_img {
          width: 18px;
          height: 20px;
          margin-left: 8px;
        }

        .right_item_span {
          font-size: 24px;
          font-weight: 600;
          color: #e00000;
          margin: 0 5px;
        }
      }
    }
  }

  .bottom {
    width: 100%;
    color: #333333;
    margin-top: 0px;

    .titLiat {
      width: 100%;
      margin-top: 40px;
      margin-bottom: 15px;

      .li {
        display: inline-block;
        vertical-align: top;
        margin-right: 40px;
        color: #333;
        cursor: pointer;

        p {
          font-size: 26px;
        }

        img {
          width: 32px;
          height: 16px;
          margin-left: 50%;
          transform: translateX(-50%);
          margin-top: -8px;
        }
      }

      .cur {
        color: #64b6a8;
        border: 0;
        transform: scale(1.1);
      }
    }

    .tit {
      font-weight: 600;
      font-size: 32px;
      margin-bottom: 24px;
    }

    .list {
      width: 100%;

      .li {
        position: relative;
        padding-bottom: 24px;
        margin-bottom: 24px;
        border-bottom: 1px solid #e0e0e0;

        .biao {
          width: 300px;
          height: 200px;
        }

        .name {
          display: inline-block;
          vertical-align: top;
          margin-left: 24px;
          position: relative;
          height: 200px;
          width: 700px;

          .t_1 {
            color: #333;
            font-size: 26px;
            cursor: pointer;
          }

          .t_2 {
            font-size: 18px;
            color: #666666;
            margin-top: 12px;
          }

          .t_3 {
            font-size: 18px;
            color: #666666;
            margin-top: 12px;
          }

          .t_4 {
            position: absolute;
            font-size: 18px;
            color: #666666;
            bottom: 0;
            left: 0;
            white-space: nowrap;

            img {
              width: 31px;
              height: 31px;
            }

            div {
              display: inline-block;
              width: 90px;
              height: 30px;
              background: #ffffff;
              border: 1px solid #64b6a8;
              border-radius: 4px;
              text-align: center;
              line-height: 30px;
              margin-left: 24px;
              color: #64b6a8;
            }
          }
        }

        .qian {
          position: absolute;
          top: 62px;
          right: 0;

          .p1 {
            //width: 120px;
            font-size: 32px;
            color: #e00000;
            text-align: center;
          }

          .p2 {
            //width: 120px;
            font-size: 18px;
            color: #333333;
            text-align: center;
          }
        }
      }
    }
  }

  .helpFriends {
    width: 100%;
    margin: 0 auto;
    margin-top: 50px;

    .helpFriends_title {
      display: flex;
      align-items: center;
      justify-content: space-between;

      .helpFriends_title_left {
        display: flex;
        align-items: center;

        .helpFriends_title_left_img {
          width: 112px;
          height: 112px;
        }

        .helpFriends_title_left_span {
          font-size: 36px;
          font-weight: 400;
          color: #333333;
          margin-left: 40px;
        }
      }

      .helpFriends_title_right {
        display: flex;
        justify-content: space-between;
        cursor: pointer;
      }
    }

    .helpFriends_article {
      margin-top: 34px;

      .helpFriends_article_text {
        font-size: 26px;
        font-weight: 500;
        color: #333333;
        line-height: 30px;
      }

      .helpFriends_article_active {
        font-size: 26px;
        font-weight: 500;
        color: #333333;
        line-height: 30px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
      }

      .unfold {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        font-size: 26px;
        font-weight: 400;
        color: #64b6a8;

        span {
          cursor: pointer;
        }

        .unfold_img {
          width: 20px;
          height: 20px;
          cursor: pointer;
        }
      }

      .unfold_yc {
        display: none;
      }
    }

    .img_one {
      width: 100%;
      height: 290px;
      margin-top: 30px;

      img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 8px;
      }
    }

    .img_two {
      width: 100%;
      height: 290px;
      display: flex;
      justify-content: space-between;
      margin-top: 30px;

      img {
        object-fit: cover;
        width: 48%;
        height: 100%;
        border-radius: 8px;
      }
    }

    .img_three {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      margin-top: 30px;

      img {
        object-fit: cover;
        width: 30%;
        height: 100%;
        border-radius: 8px;
        margin-bottom: 20px;
      }
    }

    .video {
      width: 100%;
      height: 290px;
      margin-top: 30px;

      video {
        width: 100%;
        height: 100%;
        border-radius: 8px;
      }
    }

    .byq_bottom {
      display: flex;
      justify-content: space-between;
      margin-top: 30px;
      align-items: center;

      .byq_bottom_right {
        display: flex;
        align-items: center;

        .byq_bottom_right_item {
          display: flex;
          align-items: center;
          font-size: 26px;
          font-weight: 400;
          color: #333333;
          margin-right: 35px;

          .byq_bottom_right_item_img {
            width: 30px;
            height: 30px;
            margin-right: 10px;
          }
        }
      }
    }
  }
}

.gerenBox {
  position: relative;
  width: 1200px;
  margin-left: 50%;
  transform: translateX(-50%);
  margin-top: 32px;
  margin-bottom: 45px;

  .geren {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    width: 240px;
    min-height: 820px;
    margin-right: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;

    img {
      width: 110px;
      height: 110px;
      border-radius: 50%;
      margin-top: 40px;
      margin-left: 65px;
    }

    p {
      width: 100%;
      text-align: center;
      font-size: 18px;
      color: #333333;
      margin-top: 12px;
      margin-bottom: 40px;
    }

    .list {
      position: relative;
      width: 100%;

      .li {
        width: 209px;
        height: 50px;
        line-height: 50px;
        margin-left: 30px;
        text-indent: 40px;
        font-size: 18px;
        color: #333;
        border-radius: 25px 0 0 25px;
        cursor: pointer;
      }

      .xuan {
        background-color: #64b6a8;
        color: #fff;
      }
    }

    .kuai {
      width: 100%;
      height: 6px;
      background-color: #64b6a8;
      position: absolute;
      bottom: 0;
    }
  }
}

.fenye {
  width: 100%;
  height: 50px;
  text-align: center;
  margin: 60px 0px;

  /deep/.el-pagination.is-background .el-pager li:not(.disabled).active {
    background-color: #64b6a8;
  }
}

.helpFriends {
  width: 1200px;
  margin: 0 auto;
  margin-top: 50px;

  .helpFriends_title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .helpFriends_title_left {
      display: flex;
      align-items: center;

      .helpFriends_title_left_img {
        width: 112px;
        height: 112px;
      }

      .helpFriends_title_left_span {
        font-size: 36px;
        font-weight: 400;
        color: #333333;
        margin-left: 40px;
      }
    }

    .helpFriends_title_right {
      display: flex;
      justify-content: space-between;
      cursor: pointer;
    }
  }

  .helpFriends_article {
    margin-top: 34px;

    .helpFriends_article_text {
      font-size: 26px;
      font-weight: 500;
      color: #333333;
      line-height: 30px;
    }

    .helpFriends_article_active {
      font-size: 26px;
      font-weight: 500;
      color: #333333;
      line-height: 30px;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 4;
    }

    .unfold {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      font-size: 26px;
      font-weight: 400;
      color: #64b6a8;

      span {
        cursor: pointer;
      }

      .unfold_img {
        width: 20px;
        height: 20px;
        cursor: pointer;
      }
    }

    .unfold_yc {
      display: none;
    }
  }

  .img_one {
    width: 100%;
    height: 290px;
    margin-top: 30px;

    img {
      object-fit: cover;
      width: 100%;
      height: 100%;
      border-radius: 8px;
    }
  }

  .img_two {
    width: 100%;
    height: 290px;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;

    img {
      object-fit: cover;
      width: 48%;
      height: 100%;
      border-radius: 8px;
    }
  }

  .img_three {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;

    img {
      object-fit: cover;
      width: 30%;
      height: 100%;
      border-radius: 8px;
      margin-bottom: 20px;
    }
  }

  .video {
    width: 100%;
    height: 290px;
    margin-top: 30px;

    video {
      width: 100%;
      height: 100%;
      border-radius: 8px;
    }
  }

  .byq_bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    align-items: center;

    .byq_bottom_right {
      display: flex;
      align-items: center;

      .byq_bottom_right_item {
        display: flex;
        align-items: center;
        font-size: 26px;
        font-weight: 400;
        color: #333333;
        margin-right: 35px;

        .byq_bottom_right_item_img {
          width: 30px;
          height: 30px;
          margin-right: 10px;
        }
      }
    }
  }
}

.list {
  width: 1200px;
  margin: auto;

  .li {
    position: relative;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;

    .biao {
      width: 300px;
      height: 200px;
      object-fit: contain;
      cursor: pointer;
    }

    .name {
      display: inline-block;
      vertical-align: top;
      margin-left: 24px;
      position: relative;
      height: 200px;
      width: 700px;

      .t_1 {
        color: #333;
        font-size: 26px;
        cursor: pointer;
      }

      .t_2 {
        font-size: 18px;
        color: #666666;
        margin-top: 12px;
      }

      .t_3 {
        font-size: 18px;
        color: #666666;
        margin-top: 12px;
      }

      .t_4 {
        position: absolute;
        font-size: 18px;
        color: #666666;
        bottom: 0;
        left: 0;
        white-space: nowrap;

        img {
          width: 31px;
          height: 31px;
        }

        div {
          display: inline-block;
          /* width: 90px; */
          height: 30px;
          background: #ffffff;
          border: 1px solid #64b6a8;
          border-radius: 4px;
          text-align: center;
          line-height: 30px;
          margin-left: 24px;
          color: #64b6a8;
        }
      }
    }

    .qian {
      position: absolute;
      top: 62px;
      right: 0;

      .p1 {
        //width: 120px;
        font-size: 32px;
        color: #e00000;
        text-align: center;
      }

      .p2 {
        //width: 120px;
        font-size: 18px;
        color: #333333;
        text-align: center;
      }
    }
  }
}
</style>
